Skip to content

refactor(shell): share transparent command peeling - #1166

Merged
TheGreatAxios merged 2 commits into
mainfrom
refactor-shell-share-transparent-command-peeling
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
refactor-shell-share-transparent-command-peeling

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • centralize transparent wrapper parsing for shell authorization
  • preserve authorization behavior across wrapper options, durations, terminal modes, and split payloads

Verification

  • bun test src/shell/transparent-command.test.ts src/shell/run-shell-authz.test.ts src/permission/classify-security.test.ts passes
  • bun run check passes

@TheGreatAxios
TheGreatAxios force-pushed the refactor-shell-share-transparent-command-peeling branch from 01f36b0 to bcc92d4 Compare September 25, 2026 12:50
The -S payload walker exact-matched -u/-C and otherwise skipped any
dash token, so -iu did not consume PATH and auto mode allowed
open-ended find. Rejoin also dropped NAME=value tokens after -u,
so env -u HOME FOO=bar ls auto-allowed.
@TheGreatAxios
TheGreatAxios merged commit 0a9b723 into main Sep 27, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the refactor-shell-share-transparent-command-peeling branch September 27, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant